home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
il gioco del Kamasutra
/
Milo Manara Kamasutra.iso
/
mac
/
DATA
/
ParteIII
/
GameI
/
Spada.dir
/
00042_Script_42
< prev
next >
Wrap
Text File
|
1997-11-24
|
2KB
|
54 lines
on mouseleave
set the visible of sprite 35 to 0
end mouseleave
on mousedown
global oldloc
puppetsprite 35, true
set oldloc = the loc of sprite 35
repeat while the stilldown
set the loc of sprite 35 to point(the mouseH,the mouseV)
updatestage
end repeat
end mousedown
on mouseUp
global oldloc, UomoTesto1, UomoTesto2, UomoTesto3, UomoCard1, UomoCard2, UomoCard3
global Coppia1, Coppia2, Coppia3, Test1, Test2, Test3
if (Test1 = 0) and (inside(the loc of sprite 35, the rect of sprite 14 ) = 1) then
set the loc of sprite 35 to oldloc
puppetsprite 35, 0
set the membernum of sprite 21 to (the membernum of sprite 35)
set UomoCard1 = the name of member (the membernum of sprite 35)
set the text of member 17 to "Uomo " & (the name of member (the membernum of sprite 35))
put the text of member 17 into UomoTesto1
updatestage
else if (Test2 = 0) and (inside(the loc of sprite 35, the rect of sprite 15 ) = 1) then
set the loc of sprite 35 to oldloc
puppetsprite 35, 0
set the membernum of sprite 22 to (the membernum of sprite 35)
set UomoCard2 = the name of member (the membernum of sprite 35)
set the text of member 18 to "Uomo " & (the name of member (the membernum of sprite 35))
put the text of member 18 into UomoTesto2
updatestage
else if (Test3 = 0) and (inside(the loc of sprite 35, the rect of sprite 16 ) = 1) then
set the loc of sprite 35 to oldloc
puppetsprite 35, 0
set the membernum of sprite 23 to (the membernum of sprite 35)
set UomoCard3 = the name of member (the membernum of sprite 35)
set the text of member 19 to "Uomo " & (the name of member (the membernum of sprite 35))
put the text of member 19 into UomoTesto3
updatestage
else
set the loc of sprite 35 to oldloc
puppetsprite 35, 0
end if
end mouseUp